{include file="header.tpl"}
   
   <h1>{$exception_name} Error</h1>
   
   <div id="content">
   
       <div id="exception">
           <table>
               <tr>
                   <td class="label right">Message:</td>
                   <td>{$exception.message}</td>
               </tr>
               <tr>
                   <td class="label right">Code:</td>
                   <td>{$exception.code}</td>
               </tr>
               {if $spf.app_state == 'DEV'}
               <tr>
                   <td class="label right">File:</td>
                   <td>{$exception.file}</td>
               </tr>
               <tr>
                   <td class="label right">Line:</td>
                   <td>{$exception.line}</td>
               </tr>
               <tr>
                   <td class="label right">Trace:</td>
                   <td class="trace">{$exception.trace|nl2br}</td>
               </tr>
               {/if}
           </table>
       </div>
   
   </div>
   
{include file="footer.tpl"}
